package one.stand.request.essay;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import one.stand.request.BaseRequest;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 解析转载文章
 * @author luoyang
 * @date 2020/5/21 9:12
 */
@Data
@ApiModel(value="ReprintArticleForm对象", description="转载文章")
public class ReprintArticleForm extends BaseRequest implements Serializable {

    /**
     * 文章地址
     */
    @ApiModelProperty(value = "文章地址")
    @NotNull(message = "文章地址不能为空")
    private String url;
}
